'use strict';

function get_union(collection_a, collection_b) {
  var result=new Array();
  for(var i=0;i<collection_a.length;i++){
    result.push(collection_a[i]);
  }
  for(var i=0;i<collection_b.length;i++){
    if(collection_a.indexOf(collection_b[i])==-1){
      result.push(collection_b[i]);
    }
  }
  return result;
}

module.exports = get_union;

